#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

size_t destrlen(char* arr);
size_t p_p_strlen(char* arr);
int main()
{

	char arr[] = "nishishabima?";
	printf("%d\n", destrlen(arr));
	printf("%d", p_p_strlen(arr));

	return 0;
}

size_t p_p_strlen(char* arr)
{

	char* p1 = arr;
	char* p2 = arr;
	while (*p2++ != '\0')
	{
		;
	}
	return p2 - p1 -1;

}

size_t destrlen(char* arr)
{

	if (*arr == '\0')
		return 0;
	else
	{
		return 1 + destrlen(arr + 1);
	}

}